package com.club.subject.domain.convert;


import com.club.subject.domain.entity.SubjectAnswerBO;
import com.club.subject.domain.entity.SubjectInfoBO;
import com.club.subject.infra.baisc.entity.SubjectInfo;
import com.club.subject.infra.baisc.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 题目类型转化器 DTO->BO
 */
@Mapper
public interface SubjectRadioInfoConverter {
    SubjectRadioInfoConverter INSTANCE = Mappers.getMapper(SubjectRadioInfoConverter.class);

    SubjectRadio convertBoToRadio(SubjectAnswerBO subjectAnswerBO);
}
